package operator;

public class OperatorDome6 {
    public static void main(String[] args) {
        //目标 ；学会使用关系运算符
        int a=10;
       int  b=10;

       boolean re=a==b;
       System.out.print(re);



       System.out.print(a==b);
       System.out.print(a!=b);//false
       System.out.print(a>b);//false
       System.out.print(a>=b);//false
       System.out.print(a<b);//false
       System.out.print(a<=b);//true

       int i=10;
       int j=4;


        System.out.print(i==j);//false
        System.out.print(i!=j);//true
        System.out.print(i>j);//true
        System.out.print(i>=j);//true
        System.out.print(i<=j);//false
        System.out.print(i<=j);//false


        /**
         * 注意:在做相等判断是，千万不要把=误写成=
         */
    }
}
